package controller

import (
	"context"
	"lot_admin_api/api"
	"lot_admin_api/internal/model"
	"lot_admin_api/internal/service"
)

var CouponRecord = cCouponRecord{}

type cCouponRecord struct{}

// ReceiveList  领取优惠券记录列表
func (h *cCouponRecord) ReceiveList(ctx context.Context, req *api.CouponReceiveListReq) (res *model.CouponRecordListRes, err error) {
	res, _ = service.CouponRecord().CouponReceiveList(ctx, req)
	return res, err
}
